package com.example.blog_system.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 * Description: 评论实体表
 */
@Data
public class CommentInfo {
    private Integer cid; // 评论id 用来标识评论
    private Integer uid;
    private Integer bid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime time;
    private String message;
}
